package com.chonor.mall.enums;

public enum  OrderStatusEnum {

    UNPAID(0,"待支付"),

    UNDELIVER(1,"待发货"),

    DELIVERED(2,"已发货"),

    FINISHED(3,"已完成"),

    CLOSED(4,"超时已关闭"),

    INVALID(5,"无效订单");

    private Integer code;
    private String message;

    private OrderStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
